home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / libs / dslibrary.lha / ds.library / include / libraries / ds.h next >
C/C++ Source or Header  |  1997-02-13  |  892b  |  30 lines

  1. /*
  2. **      $VER: ds.h 37.0 (30.01.97)
  3. **
  4. **      main include file for ds.library
  5. **
  6. **      (C) Copyright 1997 Markus Hillenbrand
  7. **      All Rights Reserved.
  8. */
  9.  
  10. #ifndef LIBRARIES_DS_H
  11. #define LIBRARIES_DS_H
  12.  
  13. /* Possible error codes (currently for internal use only) */
  14. #define DS_ERROR_CANNOT_OPEN_FILE_WRITE          5001    /* BTree */
  15. #define DS_ERROR_CANNOT_OPEN_FILE_READWRITE      5002    /* BTree */
  16. #define DS_ERROR_WRONG_FILETYPE                  5003    /* BTree */
  17. #define DS_ERROR_WRONG_KEYSIZE                   5004    /* BTree */
  18. #define DS_ERROR_WRONG_DATASIZE                  5005    /* BTree */
  19. #define DS_ERROR_NO_FREE_STORE                   5006    /* BTree */
  20. #define DS_ERROR_KEY_NOT_FOUND                   5007    /* BTree */
  21. #define DS_ERROR_DUPLICATE_KEY                   5008    /* BTree */
  22.  
  23. /* Structures Defines for B-Trees */
  24. typedef void * BTREE;
  25.  
  26.  
  27. #endif /* LIBRARIES_DS_H */
  28.  
  29.  
  30.